import React from 'react'
import HomeStore from '../../stores/HomeStory'

import { inject, observer } from 'mobx-react'

import '../../config/dark-theme.less'
import CRUDPage from '../../components/crud/CRUDPage'

interface BookTypeManagerProps {
  HomeStore: HomeStore
}

const BookTypesManager: React.FC<BookTypeManagerProps> = ({}) => {
  return (
    <CRUDPage
      addUrl='/species/add'
      queryUrl='/species/list'
      deleteUrl='/species/delete'
      updateUrl='/species/update'
    />
  )
}

export default inject('HomeStore')(observer(BookTypesManager))
